package entity

import (
	"time"
)
// callback
type CALL func(t time.Time, now string)

type Task struct {
	Comment  string
	Callback CALL
}

func NewTask(comment string, callback CALL) *Task {
	return &Task{Comment: comment, Callback: callback}
}

